package com.example.springboot.service;

import com.example.springboot.common.Page;

import java.util.List;

public interface WithdrawalService {
    List<Withdrawal> findAll();

    Withdrawal findById(Integer id);

    int insert(Withdrawal withdrawal);

    int update(Withdrawal withdrawal);

    int delete(Integer id);

    void deleteList(List<Integer> ids);

    Page<Withdrawal> selectByManyCondition(Withdrawal withdrawal, Integer currentPage, Integer pageSize);
}
